package com.binance.mbxgateway.api;

import java.math.BigDecimal;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import com.binance.master.models.APIRequest;
import com.binance.master.models.APIResponse;
import com.binance.mbxgateway.vo.request.QueryDepthRequest;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api(value = "Depth")
public interface IDepthApi {
    
    @ApiOperation("风控No.9：输入userId,symbol,时间段，输出市价单成交比例")
    @PostMapping("/depth/getDepth")
    APIResponse<BigDecimal> getDepth(@RequestBody APIRequest<QueryDepthRequest> request);

}
